package com.three.iot.api;

import com.three.iot.commons.dto.SysUserRoleResultDto;
import com.three.iot.commons.dto.SysUserRoleSaveDto;
import com.three.iot.commons.enums.Result;

import java.util.List;

/**
 * @author luiz
 * @Title: SysUserRoleService
 * @ProjectName iot
 * @Description: TODO
 * @date 2019-04-09 11:31
 */
public interface SysUserRoleService {
    Result<List<SysUserRoleResultDto>> findByUserNo(String userNo);

    Result deleteByIds(List<String> ids);

    Result delete(String id);

    Result save(SysUserRoleSaveDto sysUserRoleSaveDto);
}
